package com.example.demo.Entity;

import java.util.Date;

public class Product {
    private Long id;

    private Date createTime;

    private Date updateTime;

    private String productname;

    private Long productprice;

    private String productunit;

    private Long productstock;

    private Long productMaxstock;

    private String productinfo;

    private String productcoverimg;

    private String productCarousel;

    public String getProductCarousel() {
        return productCarousel;
    }

    public void setProductCarousel(String productCarousel) {
        this.productCarousel = productCarousel;
    }

    public String getProductCoverImg() {
        return productcoverimg;
    }

    public void setProductCoverImg(String productcoverimg) {
        this.productcoverimg = productcoverimg;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname == null ? null : productname.trim();
    }

    public Long getProductprice() {
        return productprice;
    }

    public void setProductprice(Long productprice) {
        this.productprice = productprice;
    }

    public String getProductunit() {
        return productunit;
    }

    public void setProductunit(String productunit) {
        this.productunit = productunit == null ? null : productunit.trim();
    }

    public Long getProductstock() {
        return productstock;
    }

    public void setProductstock(Long productstock) {
        this.productstock = productstock;
    }

    public Long getProductMaxstock() {
        return productMaxstock;
    }

    public void setProductMaxstock(Long productMaxstock) {
        this.productMaxstock = productMaxstock;
    }

    public String getProductinfo() {
        return productinfo;
    }

    public void setProductinfo(String productinfo) {
        this.productinfo = productinfo == null ? null : productinfo.trim();
    }
}